<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

    <head>

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

        <title>Freela FC</title>
        <?php
        echo $this->Html->css(array(
            'style',
            'jquery.wysiwyg',
            'facebox',
            'visualize',
            'facebox',
            'date_input',
            'autocomplete'
        ));
        ?>

        <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=7" /><![endif]-->
        <!--[if lt IE 8]><style type="text/css" media="all">@import url("/css/ie.css");</style><![endif]-->
        <!--[if IE]><script type="text/javascript" src="/js/excanvas.js"></script><![endif]-->
        <?php
        echo $this->Html->script(array(
            'jquery',
            'jquery.img.preload',
            'jquery.filestyle.mini',
            'jquery.wysiwyg',
            'jquery.date_input.pack',
            'facebox',
            'jquery.visualize',
            'jquery.select_skin',
            'ajaxupload',
            'jquery.pngfix',
            'custom',
            'jquery.autocomplete.min'
        ));
        ?>
    </head>
    <body>
        <div id="hld">
            <div class="wrapper">		<!-- wrapper begins -->
                <div id="header">
                    <div class="hdrl"></div>
                    <div class="hdrr"></div>
                    <h1><a href="#">Freela FC</a></h1>

                    <ul id="nav">
                        <li><?php echo $this->Html->link('Dashboard', '/'); ?></li>
                        <li><?php echo $this->Html->link('Projetos', '/projetos/'); ?></li>
                        <li><?php echo $this->Html->link('Clientes', '/clientes/'); ?></li>
                        <li><?php echo $this->Html->link('Horas', '/horas/'); ?></li>
                        <li><?php echo $this->Html->link('Usuarios', '/usuarios/'); ?></li>
                        <li><a href="#">Relatórios</a>
                            <ul>
                                <li><?php echo $this->Html->link('Tarefas', '/relatorios/tarefas/'); ?></li>
                                <li><a href="#">Add media</a></li>
                                <li><a href="#">Something else</a></li>
                            </ul>
                        </li>
                    </ul>

                    <p class="user">Hello, <a href="#">John</a> | <a href="index.html">Logout</a></p>

                </div><!-- #header ends -->
                <div class="block">
                    <?php echo $session->flash(); ?>
                    <?php echo $content_for_layout; ?>
                </div><!-- .block ends -->

                <div class="bendl"></div>
                <div class="bendr"></div>

                <div id="footer">

                    <p class="left">&nbsp;</p>
                    <p class="right">Por <a href="http://victorventura.net/">VictorVentura.net</a></p>
                </div>

            </div><!-- wrapper ends -->

        </div><!-- #hld ends -->

    </body>
</html>